package com.waijiaojun.tpo.service;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.waijiaojun.tpo.entity.UserAnswers;
import com.waijiaojun.tpo.repository.UserAnswersDao;

@Service
public class UserAnswersService{

    @Resource
    private UserAnswersDao userAnswersDao;

    public int insert(UserAnswers pojo){
        return userAnswersDao.insert(pojo);
    }

    public int insertSelective(UserAnswers pojo){
        return userAnswersDao.insertSelective(pojo);
    }

    public int insertList(List<UserAnswers> pojos){
        return userAnswersDao.insertList(pojos);
    }

    public int update(UserAnswers pojo){
        return userAnswersDao.update(pojo);
    }
}
